// Package product
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2025 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.11
package product

import (
	"hotgo/internal/model/input/form"
	"hotgo/internal/model/input/sysin"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询商品中心列表
type ListReq struct {
	g.Meta `path:"/product/list" method:"get" tags:"商品中心" summary:"获取商品中心列表"`
	sysin.ProductListInp
}

type ListRes struct {
	form.PageRes
	List []*sysin.ProductListModel `json:"list"   dc:"数据列表"`
}

// ViewReq 获取商品中心指定信息
type ViewReq struct {
	g.Meta `path:"/product/view" method:"get" tags:"商品中心" summary:"获取商品中心指定信息"`
	sysin.ProductViewInp
}

type ViewRes struct {
	*sysin.ProductViewModel
}

// EditReq 修改/新增商品中心
type EditReq struct {
	g.Meta `path:"/product/edit" method:"post" tags:"商品中心" summary:"修改/新增商品中心"`
	sysin.ProductEditInp
}

type EditRes struct{}

// StatusReq 更新商品中心状态
type StatusReq struct {
	g.Meta `path:"/product/status" method:"post" tags:"商品中心" summary:"更新商品中心状态"`
	sysin.ProductStatusInp
}

type StatusRes struct{}
